using System;
using System.Collections.Generic;
using System.Text;

namespace OR.Lazarus.Business.Entities
{
	public class ProjectValidatorBase< TARGET > 
		: IProjectValidator< TARGET >
		where TARGET : IProject, new()
	{
		protected TARGET mProject;

      public TARGET Project
		{
			get
			{
				return ( mProject );
			}
			set
			{
				mProject = value;
			}
		}

		public void DoValidate()
		{
			this.OnValidate();
		}

		protected virtual void OnValidate()
		{
		}
	}
}
